//
//  NAddDetaCell.m
//  ieGou
//
//  Created by 嚷蜗痕殇心 on 15/1/29.
//  Copyright (c) 2015年 chaox. All rights reserved.
//

#import "NAddDetaCell.h"

@implementation NAddDetaCell
- (void)dealloc
{
    [_pingLabel release];
    [_numLabel release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.pingLabel = [[UILabel alloc]init];
        _pingLabel.text = @"查看全部";
        [self.contentView addSubview:_pingLabel];
        [_pingLabel release];
        
        self.numLabel = [[UILabel alloc]init];
        _numLabel.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_numLabel];
        [_numLabel release];
    }
    return self;
    
}
-(void)layoutSubviews
{
    self.pingLabel.frame = CGRectMake(20, 10, 100, 30);
    self.numLabel.frame = CGRectMake(110, 10, 150, 30);
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
